@import '../../styles/var.scss';

.m-steps {
  display: flex;
  flex-direction: column;

  .step-item {
    display: flex;
    align-items: stretch;
  }

  .step-side {
    flex: 1;
    padding: 0 12px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    .step-title {
      font-weight: bold;
      font-size: $font-size-base;
      margin-bottom: 4px;
      width: 100%;
    }

    .step-desc {
      font-size: $font-size-small;
      color: #666;
    }
  }

  .step-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 8px;
  }

  .step-circle {
    width: 16px;
    height: 16px;
    border: 2px solid #c7c7c7;
    border-radius: 50%;
    background-color: #fff;
    z-index: 1;

    &.active {
      border: 2.5px solid #0a7aff;
    }
  }

  .step-line {
    flex: 1;
    width: 2px;
    background-color: #e0e0e0;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .left {
    align-items: flex-end;
  }

  .left > .step-title {
    text-align: end;
  }

  .right {
    align-items: flex-start;
  }
}
